MelhorEnvio\Services\CartService B

Total Complexity 87
Dependencies 17
Dependents 4
Total lines 443
Lines of code 284
Logical lines of code 147
Comment lines 69
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
validateAddress()
C
43 26 40
validatePayloadBeforeAddCart()
B
39 21 60
getInfoCart()
A
50 9 29
getAgencyToInsertCart()
A
52 8 25
getVolumes()
S
54 6 22
validateVolume()
S
58 6 17
add()
S
48 4 38
createPayloadToCart()
S
48 3 34
remove()
S
61 2 13
isAgencyNecessary()
S
70 2 6